Developer Documentation

QuickTime 4 API Documentation

QuickTime 4 Reference

| Previous | Chapter Contents | Chapter Top | Next |

Color Space Structures

QuickTime uses the following structures to define color spaces. For information about the color spaces supported by QuickTime, see "Color Spaces" .

struct gxRGBColor {
    gxColorValue        red;
    gxColorValue        green;
    gxColorValue        blue;
};
typedef struct gxRGBColor gxRGBColor;
struct gxRGBAColor {
    gxColorValue        red;
    gxColorValue        green;
    gxColorValue        blue;
    gxColorValue        alpha;
};
typedef struct gxRGBAColor gxRGBAColor;
struct gxHSVColor {
    gxColorValue        hue;
    gxColorValue        saturation;
    gxColorValue        value;
};
typedef struct gxHSVColor gxHSVColor;
struct gxHLSColor {
    gxColorValue        hue;
    gxColorValue        lightness;
    gxColorValue        saturation;
};
typedef struct gxHLSColor gxHLSColor;
struct gxCMYKColor {
    gxColorValue        cyan;
    gxColorValue        magenta;
    gxColorValue        yellow;
    gxColorValue        black;
};
typedef struct gxCMYKColor gxCMYKColor;
struct gxXYZColor {
    gxColorValue        x;
    gxColorValue        y;
    gxColorValue        z;
};
typedef struct gxXYZColor gxXYZColor;
struct gxYXYColor {
    gxColorValue        capY;
    gxColorValue        x;
    gxColorValue        y;
};
typedef struct gxYXYColor gxYXYColor;
struct gxLUVColor {
    gxColorValue        l;
    gxColorValue        u;
    gxColorValue        v;
};
typedef struct gxLUVColor gxLUVColor;
struct gxLABColor {
    gxColorValue        l;
    gxColorValue        a;
    gxColorValue        b;
};
typedef struct gxLABColor gxLABColor;
struct gxYIQColor {
    gxColorValue        y;
    gxColorValue        i;
    gxColorValue        q;
};
typedef struct gxYIQColor gxYIQColor;
struct gxGrayAColor {
    gxColorValue        gray;
    gxColorValue        alpha;
};
typedef struct gxGrayAColor gxGrayAColor;

© 1999 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |